package com.ezonsport.android;

import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

import com.ezonsport.android.ui.LoginActivity;
import com.ezonsport.android.webservice.WSGetUser;

public class EzonSportApplication extends Application {
	private static final String TAG = "EzonSportApplication";
	public static SharedPreferences mPref;
	public static Context mContext;
	public static WSGetUser mGetUser;
	@Override
	public void onCreate() {
		mPref = PreferenceManager.getDefaultSharedPreferences(this);
		
		String username = mPref.getString(Preferences.USERNAME_KEY, "");
		String password = mPref.getString(Preferences.PASSWORD_KEY, "");
		password = LoginActivity.decryptPassword(password);
		
	}
}
